package com.sc.pojo;

import java.util.Date;

public class Message {
    private Integer mid;

    private String mtitle;

    private Date mdate;

    private Integer eid;

    private String mcontent;

    private Employee employee;

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMtitle() {
        return mtitle;
    }

    public void setMtitle(String mtitle) {
        this.mtitle = mtitle;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getMcontent() {
        return mcontent;
    }

    public void setMcontent(String mcontent) {
        this.mcontent = mcontent;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    @Override
    public String toString() {
        return "Message [mid=" + mid + ", mtitle=" + mtitle + ", mdate=" + mdate + ", eid=" + eid + ", mcontent="
                + mcontent + ", employee=" + employee + "]";
    }
}